package com.simtop.mapper;



import com.simtop.pojo.CheadVo;
import com.simtop.pojo.SqyxLabel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SqyxLabelMapper {

    boolean insertLabel(SqyxLabel sqyxLabel);

    List<SqyxLabel> girFirstLabel();

    List<CheadVo> gitCheadVo(int parentid,int userid);

    int findparentid(String labname);

    List<SqyxLabel> findcheadList(int  findparentid);


    int fincount(String labelname);


    SqyxLabel findAllByname(String labelname);

    List<SqyxLabel> finmyself(@Param("userid") int userid, @Param("labname") String labnames);

    void deleteLabName(@Param("labname") String labname);
}
